'use strict';

const Controller = require('../core/base_controller');

class UserController extends Controller {
  async login() {
    this.tc(await this.ctx.service.user.login());
  }
  async getList() {
    this.tc(await this.ctx.service.user.getList());
  }
}

module.exports = UserController;
